package clazz;

public class A {



        public static void main(String[] args) {
            sa[] values = sa.values();
            for (sa value : sa.values()) {
                System.out.println(value);

            }
        }
    }


    enum sa {


        MONDAY("周一"),TUESDAY("周二"),WEDNESDAY("周三"),THURSDAY("周四"),FRIDAY("周五"),SATURDAY("周六"),SUNDAY("周日");
        private String name;

        @Override
        public String toString() {
            return
                    name ;

        }

        public String getName() {
            return name;

        }
        private  sa (String name){
            this.name=name;

        }
    }






